package com.cdream.basic.classiccase.miaosha.mapper;

import com.cdream.basic.classiccase.miaosha.entity.Item;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zs
 * @since 2021-07-17
 */
public interface ItemMapper extends BaseMapper<Item> {

    int increaseSales(@Param("id") Integer itemId, @Param("amount") Integer amount);
}
